package com.fin.quant.instra.mysql.mapper;

import com.fin.quant.instra.mysql.model.DividendHistory;
import com.fin.quant.instra.mysql.model.DividendHistoryExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface DividendHistoryMapper {
    long countByExample(DividendHistoryExample example);

    int deleteByExample(DividendHistoryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(DividendHistory record);

    int insertOrUpdate(DividendHistory record);

    int insertOrUpdateSelective(DividendHistory record);

    int insertSelective(DividendHistory record);

    List<DividendHistory> selectByExample(DividendHistoryExample example);

    DividendHistory selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") DividendHistory record, @Param("example") DividendHistoryExample example);

    int updateByExample(@Param("record") DividendHistory record, @Param("example") DividendHistoryExample example);

    int updateByPrimaryKeySelective(DividendHistory record);

    int updateByPrimaryKey(DividendHistory record);

    int batchInsert(@Param("list") List<DividendHistory> list);

    int batchInsertOrUpdate(@Param("list") List<DividendHistory> list);
}